<?php 
	class SearchException extends Exception { 
	   function __construct($exception) { 
	       $this->exception = $exception; 
	   }
	
	   function display() { 
	       echo "SearchException: ".$this->exception."\n"; 
	   } 

	   function getExceptionDescription() { 
	       return "SearchException: ".$this->exception."\n"; 
	   } 
	} 
?>